home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Supervisor's Toolkit
/
Network Supervisor's Toolkit.iso
/
tools
/
lu62
/
port
/
parm_trn.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-10
|
3KB
|
71 lines
/* k 1002 24.07.90 */
union parm_trn {
struct {
struct {
char adapter; /* adapter number */
char mode_address[6]; /* station address in ring */
short num_rcv_buffers; /* number received buffers */
short rcv_buffer_len; /* received buffer length */
short data_hold_buf; /* number sending buffers */
struct product_id_addr *pia; /* ptr to id */
short dir_buf_size; /* buffers size in direct pool */
short dir_pool_blocks; /* number 16b-blocks in dir pool */
struct dir_pool *dirp; /* ptr to direct pool */
char dlc_max_sta; /* max number station dlc */
short *received_data; /* ptr to exit-routine */
}dir;
struct {
char maxout; /* send window size */
char maxin; /* receive window size */
short dlc_buf_size; /* buffer size */
short dlc_pool_len; /* number 16b-blocks */
struct dlc_pool *dlcp; /* ptr to pool */
}dlc;
}parm_open;
struct {
short station_id[255]; /* station id array */
short *close_data; /* ptr to exit-routine */
}parm_close;
struct {
char command; /* command code */
short station_id; /* station id */
short buffer_len_one; /* buffer1 size */
short buffer_len_two; /* buffer2 size */
short buffer_one_*pbo; /* ptr to buffer1 */
short buffer_two_*pbt; /* ptr to buffer2 */
short *write_data; /* ptr to exit-routine */
}parm_write;
struct {
short station_id; /* station id */
char option; /* receive option */
short *read_data; /* ptr to exit-routine */
}parm_read;
struct {
short sap_station_id; /* MAC station id */
char maxout; /* send window size */
char maxin; /* receive window size */
char rsap_value; /* MAC remote address */
char access_priority; /* priority ring access */
short *dest_addr; /* ptr to receive remote station */
short *ioctl_addr; /* ptr to exit-routine */
short station_id; /* station id */
char option; /* option */
short *read_data; /* ptr to exit-routine */
}parm_open_station;
struct {
short station_id; /* station id */
short route *route; /* ptr to route-table */
}parm_connect;
struct {
short station_id; /* station id */
}parm_close_station;
struct {
short station_id; /* station id */
char buffer_get; /* number required buffers */
}parm_get;
struct {
short station_id; /* station id */
struct buffer_one *pbo; /* ptr to first free buffer */
}parm_free;
} parm_trn[5]